#: import gch kivy.utils.get_color_from_hex
#: import PieChartLine libs.baseclass.pie_chart_line.PieChartLine


<RallyAccountsScreen>

    ScrollView:

        MDList:
            spacing: dp(20)

            PieChartLine:
                text: "Total\n$ 12,134.49"
                angle_start: [90, 185, 265, 280]
                angle_end: [180, 260, 275, 445]
                line_color: [gch("#045D56"), gch("#1EB980"), gch("#69F0AE"), gch("#045D56")]

            MDList:

                RallyListItem:
                    text: "Current"
                    secondary_text: "••••••1234"
                    tertiary_text: "$ 2,215.13"
                    bar_color: gch("#045D56")

                RallyListItem:
                    text: "Home savings"
                    secondary_text: "••••••5678"
                    tertiary_text: "$ 8,678.88"
                    bar_color: gch("#1EB980")

                RallyListItem:
                    text: "Car savings"
                    secondary_text: "••••••9012"
                    tertiary_text: "$ 987.48"
                    bar_color: gch("#69F0AE")

                RallyListItem:
                    text: "Holiday"
                    secondary_text: "••••••3456"
                    tertiary_text: "$ 253.00"
                    bar_color: gch("#045D56")
